_Show All Day Events
(15 actions, 14 KB)
0 Vibrate Device
1 Translate
[Shortcut Input
as Date{"Date Style":"Relative","WFISO8601IncludeTime":false,"Time Style":"None","Relative Style":"Short"}
]
from
en_US
to
zh_TW
»
11
2 Dictionary »
{ "date": "
[Shortcut Input]
", "calType": "all-day" }
3 Run Shortcut
Get Sorted Calendar Action Items
➔ calEvents
»
4
5
6
Input
:
[2 Dictionary]
Workflow
:
{ "workflowIdentifier": "BD7F270F-75FA-40CB-87E5-60364F70FA9F", "workflowName": "Get Sorted Calendar Action Items", "isSelf": false }
4 If
[3 calEvents]
has any value
NumberValue
:
1
5 Count Items in
[3 calEvents]
»
11
6 Repeat with Each in
[3 calEvents]
7 Get
Calendar
of Calendar Events
[Repeat Item]
»
8 Set Dictionary Value for
[Repeat Item]
to
@
[7 Calendar]
in
[dict]
»
9 Set Variable
dict
to
[8 Dictionary]
10 End Repeat with Each
11 Text »
📅
[1 Translated Text]
有
[5 Count]
個特別活動
12 Choose from List
[dict]
ChooseFromListActionPrompt
:
[11 Text]
ChooseFromListActionSelectMultiple
:
true
13 End If ▵
4
14 Stop This Shortcut